# _*_ coding:utf-8 _*_
# @Time : 2023/6/12 14:46
# @Author : wsl
# @File : demo
# @Project : python
import requests

response=requests.get(url='http://www.baidu.com')
response.encoding='utf-8'
print(response.text)
print(type(response))
print(response.url)
# 二进制
print(response.content)
print(response.status_code)
print(response.headers)